
    <li {% if page == 1  %} class="disabled" {% endif %} >
            <a {% if page > 1 %} href="{% url 'student:index' %}?page={{ page|add:-1}}&per_page={{ per_page }}" {% endif %} aria-label="Previous">
            <span aria-hidden="true">上一页</span>
            </a>
    </li>
            {% for page_num in page_list %}
        <li {% if page_num == page %}class="active" {% endif %}><a   href='{{ request.path }}?page={{ page_num }}&per_page={{ per_page }}' >{{ page_num }}</a></li>
            {% endfor %}
    <li {% if page == total_page  %} class="disabled" {% endif %}>
        <a {% if page < total_page %} href="{% url 'student:index' %}?page={{ page|add:1}}&per_page={{ per_page }}" {% endif %} aria-label="Next">
            <span aria-hidden="true">下一页</span>
        </a>
    </li>

